@model MilageMVC.Models.Vehicle

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Vehicle</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Year</div>
    <div class="display-field">@Model.Year</div>

    <div class="display-label">Make</div>
    <div class="display-field">@Model.Make</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.VehicleID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


